package com.example.mybatisdemo.mapper;

import com.example.mybatisdemo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    //增
    Integer insert(UserInfo userInfo);
    //删
    Integer delete(Integer id);
    //改
    Integer update(UserInfo userInfo);
    //查
    List<UserInfo> select();
    //动态增
    Integer insertByCondition(UserInfo userInfo);
    //动态查

}
